<div class="slide none">
   <ul>
   	<volist name="classl" id="volist" >
       <li>
	        <div class="slide_li">
            <a href="{:U('Index/goodslist',array('lid'=>$volist['classl_id']))}">
              {$volist.classl_name}
            </a>
          </div>
			<dl class="yu">
			 <volist name="volist['classm']" id="mlist" key="k">
			   <dt style="clear:both">
              <a href="{:U('Index/goodslist',array('mid'=>$mlist['classm_id']))}">
                   {$mlist.classm_name}
              </a>
              <span class="money">&nbsp;></span>
         </dt>
			   <dd>
			       <ul>
				      <volist name="volist['classm'][$k-1]['classs']" id="classs">
                         <li>
                            <a href="{:U('Index/goodslist',array('sid'=>$classs['classs_id']))}">
                                 {$classs.classs_name}&nbsp;&nbsp;|
                            </a>
                         </li>
				      </volist>
				      
				   </ul>
			   </dd>
			   <dd class="clear"></dd>
			  </volist>

	   </li>
       </volist>

       


   </ul>
</div>
<script>
$(document).ready(function(){
  var action_name="{:ACTION_NAME}";
  if(action_name=='index'){
       $(".slide").show();
  }else{
       $(".head_line3_l").hover(function(){
            $(".slide").show();
       },function(){
            $(".slide").hover(function(){
                $(".slide").show();
            },function(){
                $(".slide").hide();
            });
            $(".slide").hide();
       });
  }
  $('.slide_li').mouseover(function(){
    $(this).css({"background":"#fff","color":"#c81622","border-right":"#fff solid 1px"});
    $(this).find("a").css({"color":"#c81622"});
    $(this).parent().find("dl").css({"visibility":"visible"});
  });
  $('.slide_li').mouseleave(function(){
    $(this).css({"background":"#c81622","color":"#fff","border-right":"#c81622 1px solid"});
    $(this).find("a").css({"color":"#fff"});
    $(this).parent().find("dl").css({"visibility":"hidden"});
  });
  $('dl').mouseover(function(){
    $(this).css({"visibility":"visible"});
    $(this).parent().find(".slide_li").css({"background":"#fff","color":"#c81622","border-right":"#fff solid 1px"});
    $(this).parent().find(".slide_li a").css({"color":"#c81622"});

  });
  $('dl').mouseleave(function(){
    $(this).css({"visibility":"hidden"});
    $(this).parent().find(".slide_li").css({"border":"none","background":"#c81622","color":"#fff",});
    $(this).parent().find(".slide_li a").css({"color":"#fff"});
  });
  

});
</script>